package medicalDocumentation.medicalRepository;

import entity.Medication;
import java.util.List;
import javax.ejb.Remote;

@Remote
public interface MedicationRepositorySessionBeanRemote {

    String addMedication(String code, String name, String remark);

    void deleteMedication(String code);

    List<Medication> getAllMedication();

    List<Medication> getMedicationByCode(String code);

    void updateMedication(String code, String name, String remark);
    
}
